#ifndef ERENDERER_H
#define ERENDERER_H

#include "../Engine_global.h"

class EGraphicsObject;
class ESprite;
class ETexture;

class ENGINESHARED_EXPORT ERenderer
{
public:
    ERenderer();

    void render(boost::shared_ptr<EGraphicsObject> go);
private:
    void renderSprite(boost::shared_ptr<ESprite> sprite, boost::shared_ptr<ETexture> texture,
                      QRect sourceRect);
};

#endif // ERENDERER_H
